package com.jiayang.hhotel.bean;

import java.io.Serializable;
import java.util.List;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by Administrator on 2017/5/31 0031.
 * 订房查询详情数据类
 */

public class ReservationSearchDetailsModel implements IModel{

    @Override
    public String toString() {
        return "ReservationSearchDetailsModel{" +
                "state=" + state +
                ", info='" + info + '\'' +
                ", pRsvbillRoomDetailListDtos=" + pRsvbillRoomDetailListDtos +
                '}';
    }

    /**
     * state : 9
     * info :
     * pRsvbillRoomDetailListDtos : [{"serial":9,"arrDate":"2012-06-25","dptDate":"2012-06-26","room":"","rmType":"BZ","rmTypedescp":"标准房","rmNumbers":1,"persons":1,"folioRate":169,"orgDate":"2012-06-25","orgTime":"16:25:01","orgAcct":"","cxlCode":"","cxldescp":""},{"serial":38,"arrDate":"2017-06-01","dptDate":"2017-06-05","room":"","rmType":"C","rmTypedescp":"豪华套房","rmNumbers":5,"persons":10,"folioRate":398,"orgDate":"2017-05-20","orgTime":"13:26:57","orgAcct":"许强","cxlCode":"","cxldescp":""},{"serial":6,"arrDate":"2017-12-25","dptDate":"2017-12-28","room":"","rmType":"AA","rmTypedescp":"标准间(7.8一段)","rmNumbers":10,"persons":16,"folioRate":300,"orgDate":"2017-01-01","orgTime":"12:30:00","orgAcct":"","cxlCode":"","cxldescp":""}]
     */

    private int state;
    private String info;
    private List<PRsvbillRoomDetailListDtosBean> pRsvbillRoomDetailListDtos;

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public List<PRsvbillRoomDetailListDtosBean> getPRsvbillRoomDetailListDtos() {
        return pRsvbillRoomDetailListDtos;
    }

    public void setPRsvbillRoomDetailListDtos(List<PRsvbillRoomDetailListDtosBean> pRsvbillRoomDetailListDtos) {
        this.pRsvbillRoomDetailListDtos = pRsvbillRoomDetailListDtos;
    }

    public static class PRsvbillRoomDetailListDtosBean implements Serializable{


        @Override
        public String toString() {
            return "PRsvbillRoomDetailListDtosBean{" +
                    "serial=" + serial +
                    ", arrDate='" + arrDate + '\'' +
                    ", dptDate='" + dptDate + '\'' +
                    ", room='" + room + '\'' +
                    ", rmType='" + rmType + '\'' +
                    ", rmTypedescp='" + rmTypedescp + '\'' +
                    ", rmNumbers=" + rmNumbers +
                    ", persons=" + persons +
                    ", folioRate=" + folioRate +
                    ", orgDate='" + orgDate + '\'' +
                    ", orgTime='" + orgTime + '\'' +
                    ", orgAcct='" + orgAcct + '\'' +
                    ", cxlCode='" + cxlCode + '\'' +
                    ", cxldescp='" + cxldescp + '\'' +
                    '}';
        }

        /**
         * serial : 9
         * arrDate : 2012-06-25
         * dptDate : 2012-06-26
         * room :
         * rmType : BZ
         * rmTypedescp : 标准房
         * rmNumbers : 1
         * persons : 1
         * folioRate : 169
         * orgDate : 2012-06-25
         * orgTime : 16:25:01
         * orgAcct :
         * cxlCode :
         * cxldescp :
         */

        private long serial;
        private String arrDate;
        private String dptDate;
        private String room;
        private String rmType;
        private String rmTypedescp;
        private int rmNumbers;
        private int persons;
        private double folioRate;
        private String orgDate;
        private String orgTime;
        private String orgAcct;
        private String cxlCode;
        private String cxldescp;

        public long getSerial() {
            return serial;
        }

        public void setSerial(long serial) {
            this.serial = serial;
        }

        public String getArrDate() {
            return arrDate;
        }

        public void setArrDate(String arrDate) {
            this.arrDate = arrDate;
        }

        public String getDptDate() {
            return dptDate;
        }

        public void setDptDate(String dptDate) {
            this.dptDate = dptDate;
        }

        public String getRoom() {
            return room;
        }

        public void setRoom(String room) {
            this.room = room;
        }

        public String getRmType() {
            return rmType;
        }

        public void setRmType(String rmType) {
            this.rmType = rmType;
        }

        public String getRmTypedescp() {
            return rmTypedescp;
        }

        public void setRmTypedescp(String rmTypedescp) {
            this.rmTypedescp = rmTypedescp;
        }

        public int getRmNumbers() {
            return rmNumbers;
        }

        public void setRmNumbers(int rmNumbers) {
            this.rmNumbers = rmNumbers;
        }

        public int getPersons() {
            return persons;
        }

        public void setPersons(int persons) {
            this.persons = persons;
        }

        public double getFolioRate() {
            return folioRate;
        }

        public void setFolioRate(double folioRate) {
            this.folioRate = folioRate;
        }

        public String getOrgDate() {
            return orgDate;
        }

        public void setOrgDate(String orgDate) {
            this.orgDate = orgDate;
        }

        public String getOrgTime() {
            return orgTime;
        }

        public void setOrgTime(String orgTime) {
            this.orgTime = orgTime;
        }

        public String getOrgAcct() {
            return orgAcct;
        }

        public void setOrgAcct(String orgAcct) {
            this.orgAcct = orgAcct;
        }

        public String getCxlCode() {
            return cxlCode;
        }

        public void setCxlCode(String cxlCode) {
            this.cxlCode = cxlCode;
        }

        public String getCxldescp() {
            return cxldescp;
        }

        public void setCxldescp(String cxldescp) {
            this.cxldescp = cxldescp;
        }


    }
}
